package cn.hinglo.common.annotation;

import java.lang.annotation.*;

/**
 * @createTime: 2019/12/16 : 16:10
 * @author: HingLo
 * @description: 自动从application.properties中注入属性值，使用#{key}来获取值
 */
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Value {
    /**
     * The actual value expression: e.g. "#{systemProperties}".
     */
    String value();
}
